#include "widget.h"
#include "ui_widget.h"
#include "b1widget.h"
#include "date.h"
#include <qtabbar.h>
#include <QDebug>
#include <QTimer>
#include <QRegularExpression>

void Widget::on_pushButtonA101_clicked()
{
    ui->A101->show();
    ui->up1->show();
    ui->right1->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonA102_clicked()
{
    ui->A102->show();
    ui->up1->show();
    ui->right1->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonA103_clicked()
{
    ui->A103->show();
    ui->up1->show();
    ui->right1->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}


void Widget::on_pushButtonA104_clicked()
{
    ui->A104->show();
    ui->up1->show();
    ui->right1->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonA105_clicked()
{
    ui->A105->show();
    ui->up1->show();
    ui->right1->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonB101_clicked()
{
    ui->B101->show();
    ui->up1->show();
    ui->right1->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonB102_clicked()
{
    ui->B102->show();
    ui->up1->show();
    ui->right1->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonB103_clicked()
{
    ui->B103->show();
    ui->up1->show();
    ui->right1->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonB104_clicked()
{
    ui->B104->show();
    ui->up1->show();
    ui->right1->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonB105_clicked()
{
    ui->B105->show();
    ui->up1->show();
    ui->right1->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonC101_clicked()
{
    ui->C101->show();
    ui->up2->show();
    ui->right1->show();
    ui->right2->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonC102_clicked()
{
    ui->C102->show();
    ui->up2->show();
    ui->right1->show();
    ui->right2->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonC103_clicked()
{
    ui->C103->show();
    ui->up2->show();
    ui->right1->show();
    ui->right2->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonC104_clicked()
{
    ui->C104->show();
    ui->up2->show();
    ui->right1->show();
    ui->right2->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonC105_clicked()
{
    ui->C105->show();
    ui->up2->show();
    ui->right1->show();
    ui->right2->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonD101_clicked()
{
    ui->D101->show();
    ui->up2->show();
    ui->right1->show();
    ui->right2->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonD102_clicked()
{
    ui->D102->show();
    ui->up2->show();
    ui->right1->show();
    ui->right2->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonD103_clicked()
{
    ui->D103->show();
    ui->up2->show();
    ui->right1->show();
    ui->right2->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonD104_clicked()
{
    ui->D104->show();
    ui->up2->show();
    ui->right1->show();
    ui->right2->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonD105_clicked()
{
    ui->D105->show();
    ui->up2->show();
    ui->right1->show();
    ui->right2->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonA106_clicked()
{
    ui->A106->show();
    ui->down1->show();
    ui->right1->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonA107_clicked()
{
    ui->A107->show();
    ui->down1->show();
    ui->right1->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonA108_clicked()
{
    ui->A108->show();
    ui->down1->show();
    ui->right1->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonA109_clicked()
{
    ui->A109->show();
    ui->down1->show();
    ui->right1->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonA110_clicked()
{
    ui->A110->show();
    ui->down1->show();
    ui->right1->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonB106_clicked()
{
    ui->B106->show();
    ui->down1->show();
    ui->right1->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonB107_clicked()
{
    ui->B107->show();
    ui->down1->show();
    ui->right1->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonB108_clicked()
{
    ui->B108->show();
    ui->down1->show();
    ui->right1->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonB109_clicked()
{
    ui->B109->show();
    ui->down1->show();
    ui->right1->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonB110_clicked()
{
    ui->B110->show();
    ui->down1->show();
    ui->right1->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonC106_clicked()
{
    ui->C106->show();
    ui->down2->show();
    ui->right1->show();
    ui->right2->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonC107_clicked()
{
    ui->C107->show();
    ui->down2->show();
    ui->right1->show();
    ui->right2->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonC108_clicked()
{
    ui->C108->show();
    ui->down2->show();
    ui->right1->show();
    ui->right2->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonC109_clicked()
{
    ui->C109->show();
    ui->down2->show();
    ui->right1->show();
    ui->right2->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonC110_clicked()
{
    ui->C110->show();
    ui->down2->show();
    ui->right1->show();
    ui->right2->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonD106_clicked()
{
    ui->D106->show();
    ui->down2->show();
    ui->right1->show();
    ui->right2->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonD107_clicked()
{
    ui->D107->show();
    ui->down2->show();
    ui->right1->show();
    ui->right2->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonD108_clicked()
{
    ui->D108->show();
    ui->down2->show();
    ui->right1->show();
    ui->right2->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonD109_clicked()
{
    ui->D109->show();
    ui->down2->show();
    ui->right1->show();
    ui->right2->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonD110_clicked()
{
    ui->D110->show();
    ui->down2->show();
    ui->right1->show();
    ui->right2->show();
    disableButton();


    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}
